import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex);
console.log(process.env)

const menuList = [{
    routerUrl: '/blockDiagramList',
    routerName: '框图',
    sidebarList: [{
      routerUrl: '/blockDiagram',
      routerName: '框图展示',
    }]
  },
  {
    routerUrl: '/addProgress',
    routerName: '二级进度表',
    sidebarList: [{
      routerUrl: '/addProgress',
      routerName: '分部/分项名称维护',
    }]
  }]
const store = new Vuex.Store({
  getters: {
    menu: state => menuList
  }
});
export default store
